package com.ridaizu.model.form;

import java.util.Date;
import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.Inventory;
import com.ridaizu.model.Model;

@javax.faces.bean.ManagedBean(name = "inventoryForm")
@SessionScoped
public class InventoryForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String goodsId;

	private String count;

	private String rgtOpt;

	private Date rgtDate;

	private String updOpt;

	private Date updDate;

	private Inventory selectedInventory;

	private List<Inventory> selectedInventoryList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getRgtOpt() {
		return rgtOpt;
	}

	public void setRgtOpt(String rgtOpt) {
		this.rgtOpt = rgtOpt;
	}

	public Date getRgtDate() {
		return rgtDate;
	}

	public void setRgtDate(Date rgtDate) {
		this.rgtDate = rgtDate;
	}

	public String getUpdOpt() {
		return updOpt;
	}

	public void setUpdOpt(String updOpt) {
		this.updOpt = updOpt;
	}

	public Date getUpdDate() {
		return updDate;
	}

	public void setUpdDate(Date updDate) {
		this.updDate = updDate;
	}

	public Inventory getSelectedInventory() {
		return selectedInventory;
	}

	public void setSelectedInventory(Inventory selectedInventory) {
		this.selectedInventory = selectedInventory;
	}

	public List<Inventory> getSelectedInventoryList() {
		return selectedInventoryList;
	}

	public void setSelectedInventoryList(List<Inventory> selectedInventoryList) {
		this.selectedInventoryList = selectedInventoryList;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void clearAll() {
		this.id = null;
		this.goodsId = null;
		this.count = null;
		this.rgtOpt = null;
		this.rgtDate = null;
		this.updOpt = null;
		this.updDate = null;
		this.selectedInventory = null;
		this.selectedInventoryList = null;
	}

}
